
export function convertRange(rangeStr) {
    // console.log(rangeStr,'rangeStr')
    if(!rangeStr){
        return rangeStr;
    }
    if (rangeStr === "no") {
        return "无";


    }if (rangeStr === "无") {
        return "无";
    }

    const parts = rangeStr.split(',');
    const start = parts[0];
    const end = parts[1];

    if (end === "max") {
        return `${start}以上`;
    } else {
        return `${start}-${end}`;
    }


}